package com.gitee.huanminabc.jcommon.container;

import java.util.Collection;

/**
 * 简要描述
 *
 * @Author: huanmin
 * @Date: 2025/4/12 00:43
 * @Version: 1.0
 * @Description: 文件作用详细描述....
 */
public class CollectionUtil {
    /**
     * 判断集合是否为空
     *
     * @param collection 集合
     * @return true:空 false:非空
     */
    public static boolean isEmpty(Collection<?> collection) {
        return collection == null || collection.isEmpty();
    }
}
